package org.nokatag.tagjava;


/**
 * <p>@Title 表单控件实体类</p>
 * <p>@Description </p>
 * <p>@Version 1.0.0</p>
 * <p>@author rebin</p>
 * <p>@date 2016年10月31日</p>
 * <p>xiefangjian@163.com</p>
 * <p>Copyright © Noka Laboratory.All Rights Reserved.</p>
 */
public class InputItem {

	private String id = null;
	private String name = null;
	private String value = null;
	
	public InputItem(String id){
		this.id = id;
	}
	public InputItem(String id,String name){
		this.id = id;
		this.name = name;
	}
	public InputItem(String id,String name,String value){
		this.id = id;
		this.name = name;
		this.value = value;
	}
	public int hashCode(){
		return id.hashCode();
	}
	public boolean equals(Object obj) {  
        if(obj == null) return false;  
        if(this == obj) return true;  
        if(obj instanceof InputItem){   
        	InputItem initem =(InputItem)obj;  
            if(initem.id.equals(this.id)){
            	return true;  
            }
        }  
        return false;  
    }
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
}
